@foreach(['success','danger'] as $v)
    @if(session($v))
        <div role="alert" class="alert alert-{{$v}} alert-icon alert-dismissible">
            <div class="icon"><span class="mdi mdi-check"></span></div>
            <div class="message">
                <button type="button" data-dismiss="alert" aria-label="Close" class="close"><span aria-hidden="true"
                                                                                                  class="mdi mdi-close"></span>
                </button>
                {{session($v)}}
            </div>
        </div>
    @endif
@endforeach